<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="WEB-INF/templates/appTemplate.xhtml">
	<ui:define name="content">
		
		 <h1 class="page-header "> <i class="fa fa-tachometer"></i> Dashboard</h1>
		
		<h:form>
		<p:growl id="growl" life="2000" />
		
		<p:layout style="min-width:400px;min-height:200px;">
			<p:layoutUnit position="west" resizable="true" size="100"
				minSize="40" maxSize="200">
        		West
    		</p:layoutUnit>

			<p:layoutUnit position="center">
        		Center
    		</p:layoutUnit>			
		</p:layout>
		<p:commandButton value="With Icon" id="withIcon" update="growl" icon="ui-icon-disk" />
		</h:form>
		
	</ui:define>
</ui:composition>

</html>